<template>
  <div>
    <h3>日期选择器</h3>
    <!-- 组件名：el-date-picker
                   type:默认值为date  week  yarn month..
                   v-model值的双向绑定
     -->
    <el-date-picker v-model="time" />
  </div>
</template>
<script>
export default {
  data() {
    return {
      time: ''
    }
  }
}
</script>
<style></style>
